try {
	Type.registerNamespace('GeneralInVO');
	
	//其他入库VO
	GeneralInVO = function() {};
	GeneralInVO.prototype = new NCMMPubUtil.SuperVO();
	GeneralInVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//子表
	GeneralInVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	
	GeneralInVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	GeneralInVO.NSCANEDNUM = {
		name: "nscanednum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	GeneralInVO.NSCANEDASTNUM = {
		name: "nscanedastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};    
    
	GeneralInVO.prototype.getAllAttrs = function() {
		return [GeneralInVO.PK_HEAD,
			GeneralInVO.PK_ORG,
			GeneralInVO.VBILLCODE,
			GeneralInVO.DBILLDATE,
			GeneralInVO.HTS,
			//表体
			GeneralInVO.PK_ITEM,
			GeneralInVO.CROWNO,
			GeneralInVO.CMATERIALVID,
			GeneralInVO.MATERIALCODE,
			GeneralInVO.MATERIALNAME,
			GeneralInVO.MATERIALSPEC,
			GeneralInVO.MATERIALTYPE,
			GeneralInVO.MATERIALSHORTNAME,
			GeneralInVO.CUNITID,
			GeneralInVO.CUNITID_CODE,
			GeneralInVO.CUNITID_NAME,
			GeneralInVO.CASTUNITID,
			GeneralInVO.CASTUNITID_CODE,
			GeneralInVO.CASTUNITID_NAME,
			GeneralInVO.VCHANGERATE,
			GeneralInVO.NNUM,
			GeneralInVO.NASTNUM,
			GeneralInVO.VBATCHCODE,
			GeneralInVO.BTS,
			GeneralInVO.NSCANEDNUM,
			GeneralInVO.NSCANEDASTNUM
			];
	};
	GeneralInVO.prototype.getTableName = function() {
		return "ic_GeneralIn";
	};
	GeneralInVO.prototype.getPrimaryAttr = function() {
		return GeneralInVO.PK_ITEM;
	};
} catch(e) {
	$e(e);
}